package team.freeroom.hotelmanage.service;

import org.springframework.stereotype.Service;
import team.freeroom.hotelmanage.repository.entity.Role;
import java.util.List;
import java.util.Map;

@Service
public interface RoleService {
    int add(Role role);
    int edit(Role role);
    int delete(Long id);
    List<Role> findList(Map<String, Object> queryMap);
    int getTotal(Map<String, Object> queryMap);
    Role find(Long id);
}
